package org.tis.tools.abf.module.ac.controller.request;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.tis.tools.abf.module.ac.entity.vo.AcOpertorAddDelete;
import org.tis.tools.model.web.RestRequest;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 为操作员批量新增和删除功能行为
 * Created by chenchao
 * Created on 2018/10/8 9:04
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class AcOperatorBatchAddDeleteRequest extends RestRequest {

    @NotBlank(message = "操作员GUID不能为空!")
    private String operatorGuid;

    @NotNull(message = "行为功能不能为空!")
    private List<AcOpertorAddDelete> dataList;
}
